package com.ynet.middleground.riskmanage.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 企查查-开庭公告详情查询附表-被上诉人
 * </p>
 *
 * @author songyf
 * @since 2020-08-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("rm_qichacha_court_anno_detail_defendant")
public class QichachaCourtAnnoDetailDefendant extends Model<QichachaCourtAnnoDetailDefendant>{

	private static final long serialVersionUID = -8067591709538131897L;

	/**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 开庭公告详情查询表主键
     */
    private Integer detailId;

    /**
     * keyNo
     */
    private String keyNo;

    /**
     * 被告/被告人/ 被上诉人/被申请人
     */
    private String name;

    /**
     * 渠道
     */
    private String channel;

    /**
     * 创建时间
     */
    private LocalDateTime gmtCreate;

    /**
     * 创建者
     */
    private Integer createBy;

    /**
     * 更新时间
     */
    private LocalDateTime gmtModified;

    /**
     * 更新者
     */
    private Integer modifiedBy;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
